package com.ossjk.oa.system.service.impl;


import java.util.List;

import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.ossjk.oa.system.entity.Permission;
import com.ossjk.oa.system.mapper.PermissionMapper;
import com.ossjk.oa.system.service.IPermissionService;



/**
 * 权限 服务实现类
 *
 * @Author chair
 * @Version 1.0, 2018-10-17
 * @See
 * @Since com.ossjk.ossjklayui.system.service.impl
 * @Description: TODO
 */
@Service
public class PermissionServiceImpl extends ServiceImpl<PermissionMapper, Permission> implements IPermissionService {

	@Override
	public List<Permission> selectByEid(String eid) {
	 
		return this.baseMapper.selectByEid(eid);
	}

	@Override
	public List<String> selectCodeByEid(String eid) {
		return baseMapper.selectCodeByEid(eid);
	}

}
